<template>
  <div>
    <h1>App</h1>
    <MyCard>
      <template #header>
        <h1>头部</h1>
      </template>
      <h2>帅峰</h2>
    </MyCard>
    <MyCard title="父传子的title">
      <h2>帅峰</h2>
    </MyCard>
  </div>
</template>

<script setup>
import MyCard from './components/MyCard.vue';


</script>

<style lang="scss" scoped></style>